-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SM64] Fix/Improve multi-actor UI (not export all selected) #450
Conversation
a little extra addition for code quality
fast64_internal/sm64/sm64_objects.py
Outdated
@@ -2166,12 +2179,24 @@ def draw_level_path(self, layout): | |||
return True | |||
|
|||
def draw_actor_path(self, layout): | |||
actor_path = Path(bpy.context.scene.fast64.sm64.decomp_path) / "actors" | |||
if not filepath_ui_warnings(layout, (actor_path / self.actor_group_name).with_suffix(".c")): | |||
if self.export_locations is None: | |||
return |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
return | |
return False |
and other returns in this function
would be cleaner
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good. Definitely more clear that a manually selected gfx and col object will go to different places.
Doesn´t add empties to the text, uses parenthesis, show similar text for level and custom